function [ H ] = H( x )
%HENTROPY Summary of this function goes here
   if x>0
       H=x*log(x);
   
   else
       H=0;
   end



